package com.example.dqhl.recycleviewdemo.util;

import android.bluetooth.BluetoothAdapter;
import android.bluetooth.BluetoothDevice;
import android.bluetooth.BluetoothServerSocket;
import android.bluetooth.BluetoothSocket;

import java.util.ArrayList;

public class Common {

	/* 一些常量，代表服务器的名称 */
	public static final String PROTOCOL_SCHEME_L2CAP = "btl2cap";
	public static final String PROTOCOL_SCHEME_RFCOMM = "btspp";
	public static final String PROTOCOL_SCHEME_BT_OBEX = "btgoep";
	public static final String PROTOCOL_SCHEME_TCP_OBEX = "tcpobex";


	public static BluetoothServerSocket mserverSocket = null;
//	public static BluetoothSocket socket = null;

	public static BluetoothAdapter mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter();

    public static ArrayList<BluetoothSocket> bleSocket=new ArrayList<>();
    public static ArrayList<BluetoothDevice> bleAddrList = new ArrayList<BluetoothDevice>();



}
